package com.example.zg.learn.fragment;

import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.example.zg.learn.R;

/**
 * 描述：
 * zhougan
 * 2019/1/18
 **/
public class BookstoreFragment extends BaseFragment {
    private static final String TAG = "BookstoreFragment>>>";

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        if(savedInstanceState!=null){
            Log.i(TAG, "onCreate: 重建");
        }else{
            Log.i(TAG, "onCreate: 新建");
        }
    }

    @Nullable
    @Override
    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        return inflater.inflate(R.layout.fragment_basestore,container,false);
    }
}
